<?php

include_once("wx_tpl.php");
include_once("base-class.php");

function sandback_text($text_str){
	global $fromUsername,$toUsername,$textTpl;
	$msgType = "text";
	$resultStr = sprintf($textTpl, $fromUsername, $toUsername, time(), $msgType, $text_str);
	echo $resultStr;
}

?>